import React from "react";
import instance from "../../../utils/request";
import { baseURL } from "../../../config";

export const _getData = async () => {
  try {
    const res = await instance.get('get/record',{
      headers:{
        "Content-Type": "application/json",
        
      }
    })
    // console.log(res.data);
    return res.data
  } catch (err) {
    console.log("error:",err);  
  }
}